Create RunLengthWithMap.java

This is used to give output as {w=4, d=1, e=1, a=3, x=6}.