Fixing java for lesson 2.