Try removing the / before the input path location in the command that you are giving for the map reduce code:
hadoop jar UnderstandingMapReduce.jar com.kamran.mapreduce.WordCountDemo WordCountDemo/Input/WordCou ntDemoInput.txt WordCountDemo/Output/WordCountDemoOutput