Add unfinished Problem2; minor fix to Core.java