added all basic functions for netmask conversion
implemented reverse function
fixed writeFromByte
netmask stuff
compiler mode changes