reworked ip address test to use scalacheck. also moved the pattern definition to its own class
implemented ExpressionGenerators