Don't do the Google search until you're ready to check your answer, and even then don't copy anything you find. It's better for your growth and learning to work the answer out yourself. Not only that, sounds like it's better for your mindset to come to a complete conclusion and then compare instead of getting stuck on how other people have done things. You'll learn how to refine your work eventually, but for now "the problem is completely solved" means essentially nothing. Sounds like your current work is homework for when you start pushing boundaries. This is getting rambly, but maybe you'd benefit from a Coursera class or two in math and then maybe a graduate university night course?