solved problems 17-19
solved problems 20-22
fixed issues, solved problem 23