added king moves
moved bounds checking to the Pieces class