Revised main.cpp. Now utilizes strtok. Does not recognize logic commands or semicolons yet.