Better than nothing, although not the complete code.
Does that put something on the screen for you?
How have you wired the parallax sensor to your Arduino? Have you run a test with that sensor to see if it's working? What do you wanna achieve? We may help you with specific problems but we won't do your work.