Added support for bools. Added fractal to sample.