Create a Bijection datatype in Julia