Rewrote next 5 generator

Completely changed the script to generate the table of the next 5
shifts. Still a pile of crap though, just a slightly tidier pile.