Fixed getSpaceFromMove - it was throwing ArrayIndexoutOfBounds