Added beginner solution in java