Fixing the way that solutions get printed so that they are not relying on returning an int to main.