(Preface with I am very new to programming and Swift)
I am making an alarm app and so I have an AudioPlayer class based mostly on the one outlined in this instruction