Made a new class called Foo3.java that have primitive arrays

Added functionality for creating foo3 in ObjectCreator.java