Here I give my approach to the euler problems .. I will aprreciate if you have better alternatives for the soln than I have .....