new: added course-provided files for HW2
new: added main solutions for HW2, not graded yet, need more tests