Check

Has implemented functions in each Piece which returns all the possible moves that piece can do. I also implemented a function which returns all the possible moves a player can do. Since it now was pretty easy to implement a function which returns if a player is in check or not, i did that to.

The code is not very effective, not very good looking or easy to understand, but it seems to work.