Wrote validations, Fixed Arraylist output