change name of 1st algorithm
fix declaration of var continue (use 'y' in instead of 1)
question 5 solved