parse given number ranges
check if two strings are one distance appart
solution to task scheduling problem