Added move generation
Added valid move checking for pieces