Function knightAttacks

Gets squares attacked or defended by a knight on square.