homework, read string from cmd line