Create RunLengthEncoder.java

Encode the given string by replacing repeated characters with a single instance of that character followed by the number of repetitions.
eg: ddddffffvvvg should give d4f4v3g1