Problem092: updated the NextStep function so that it no longer does unnecessary string conversions... takes half the time now