Variable neighbourhood search for extremal graphs