UVA Problem ID: 439 (Knight Moves)