Come on man use your head a little, that's programming! Here I made you a simpler solution in less than 10 minutes.