- Solution for assignment #4