Created functional subpackage, added Function1 and Function2