Finished un-spaghetti expanbit256's C
 - decided to keep the initial jump and make it a while loop. Should be fine?