Implement homework02