Text this: Application of riemann invariants on shallow water wave equations