Can you please format your question? It is almost impossible to read what the problem is. Can I suggest putting your code/printouts in a code block? Perhaps the Writeup Formatting Tips will help.
Update:Doesn't make much sense now Corion has fixed the format :-) I'll leave the comment here to maintain the link