Homework solution

Added my homework solution. Kaloyan Darmonev, 61664.