adding my final solution to 04