update save function to use quality setting of 1-10
throw error if quality is outside range of 1-10
update with comment for quality setting
Merge pull request #5 from JonathanPrince/quality

Universal quality setting for save method. Fixes #4