made large changes to account for many bugs with the enpassant code