Welcome to the Ranch!
Here are a couple tips to make your experience here more productive and ensure you get the best help possible.
1) You didn't tell us what it's doing instead. Please
TellTheDetails.
2) That's way too much code. We don't need to see your whole program. Provide just enough to show the specific problem you're asking about, and nothing else. Often times this means writing a completely separate, smaller program--an
SSCCE.
EDIT: Okay, I see you've updated your post. That looks better. So, when you say you "don't get anything", you mean there's no output at all? What output do you expect?