determin IP address byte from /etc/hosts rather than asking user; move floppy creation into function