runLengthEncoding solution added