Create logic for finding possible moves of a Queen and dry up the code further by making use of the delta array constants.
Create logic for fiding possible moves of a King.