Map extracted and possibleMoveByNumber function started.