I'm not that good at writing code very neat. So I decided i'd see if anyone could help me neaten up my code.