Difficulty Understanding Program

Its seems like you understood my exact problem and thats a great advice. Thats very true, when i am solving a problem i have many Enum functions in mind but just get confuse which one to apply and which not. I think it will come with practice and with time.