Fixed bug with detection of valid moves for valid captures the function for this will need to be refactored eventually to make bug finding easier
Refacted get valid moves to be class methods to be implements by a future function to get all valid moves of a given piece