poj 2243 & 1915 knight moves, bfs.