fixed some prototypes to include some data necessary for certain logic
added some of the move checks for white
todo: finish white's checks, test white's checks, implement black's checks,
      test black's checks