Wrong solution, but setting up the functions
Finding solution for a low n
Not quite working out