Adding solution for "Lexiographic Paths" problem featured on Hacker rank
weekly contest 9. Problem statement is included in the solution.java as
comments.