Usage and taking input from stdin.