Removed repetition in pawn method, made it color-agnostic, roughly.
Removed replication in castling in attempt to make moves less color-dependent.