Added pawn and king move logic