Your current code is not properly formatted, which makes it quite hard to debug, so please format it if possible.
Also, could you describe where you are currently stuck? I.e. are you seeing an error etc.?