Added write_quarternote.e

Also moved all numbers to constants.e