Added Main Method
Added array printout.