Adding Non Dynamic programming version of CountPaths.java