A school project that I'm putting up here for convinience. Warning: contains absolutely terrible coding on a worse idea. Feel free to use it, though I bet you won't want to.