Adding FlexibleInstances directive

Adding FlexibleInstances directive so that the module works in GHCi on
it's own