Began converting main.f into main.cpp - reached line 111