Least Common Multiple – Snake Game