BarFactory class added

The BarFactory is able to build a valid with biggest possible notes
BarFactory updated

BarFactory now generates just the rhythm of a melody