Completed Application.java's upvoteOption method. Needs debugging and testing.