Destination Reachability - Coding problem | OneNoughtOne