Added function to write notes

HOLLY SIHTZ, i haz fianly don soemtihng. tx to Zane6888 for hepling meh
do da maathz. giv diz man a thunaa