Added check for draw and no moves left now program does not crash at end of game