added basic java practice problems