The sentence that contains an analogy is:
"…I was bouncing off the walls like a rubber ball and springing from one place to the next the rest of the day."
In this sentence, Nicholas compares his excitement and energy to bouncing off the walls like a rubber ball, which is an analogy as it uses a simile to express his feelings.