A very simple subnet calculator written in C