Working on lab3 - added validation method and a new input type (from array) to test out the DIP