Corrected bugs in Competition.java