Homework 1 for HTML246 course