refactored, shortened methods in program.rb, added helper methods, added name and date of birth validation