Add pre jdk8 solution for exercise 2 test 2.