add

fun add(cost: Int, lastRightID: Int, backPos: Int, backRPos: Int, backIndex: Int, backID: Int, backType: TokenType)