added a new example to demonstrate creation of modes

This is just a draft example to show how we can create modes and then potentially generate melodies too.