save solution to the file (testing)