Why solve()?

this is clever, i used to break through all the nested loops when i had computed my answer