Length
moves will appear here
Algorithm