Added note with stem and flags. Implemented note flipping.