I do not know why I fail the test. The output is correct just not very clean code but it does work. So how to go from here?