Fixed some more flaws in Core-Java/exam1