A6: Added my solution