Cleaning up the solution recursively. Removes useless using statements and forces uniform whitespacing.