Adding Flyweight pattern implementation & example code.

Signed-off-by: Tomasz Kamiński <kaminski.tomasz.a@gmail.com>