Added movement checking to Pawn and King, and fixed some bugs