Fixed indentation. Changed spaces to tabs
Fixed game not ending properly after checkmate