Create a note

def cmd_touch_note(args):
    """Create a note"""
    major = args.get(0)
    minor = args.get(1)
    if major in penStore.data:
        if minor is None:  # show items in list
            for note in penStore.data[major]:
                puts(note)
        elif minor in penStore.data[major]:
            penStore.openNote(major, minor)
        else:
            penStore.createNote(major, minor)
            penStore.openNote(major, minor)
    else:
        puts("No list of that name.")