My solutions for a geekbrains homework.