New solutions

solution.cpp in progress (not working)