hostname implementation
Add -h help and -V version flags