C Practice with graphing