isCheck method

isCheck takes a string value, the colour of the player who just player. This will be given by main.cc and the method determines if a move exists to attatck the opponenets king. searches board for a gamepiece on the board the player owns and determines if a move to the king would be legal.
i will make change to main.cc and gamepiece.cc so i have an accessor function called getPos();