commit before making changes to algorithm
minor main.cpp
misc