ex3 done, not happy about last def netmask_to_decimal