Adding solution for checking homeworks