lab1 solution