updated/added functions, paused coding to test a method in new Java Project using Junit test cases.