public static function input($question, $default = null)
    {
        echo $question.': ';
        $handle = fopen ('php://stdin', 'r');

        $answer = fgets($handle);
        fclose($handle);

        $answer = trim($answer);

        if(!$answer) {
            $answer = $default;
        }

        return $answer;
    }