Solution for Unique Path.