Adding pseudo code approach for 5
Fixing up the pseudo code...too bad it's a faulty algorithm
finishing 5