function rename and new default constructor for RandomShape.java