A5: Added my solution