added area

added area into java program just for testing