SOLVING SMALL TSP ACCORDING TO THE PRINCIPLE OF MINIMUM ACTION