Finished basic queue functionality. Really need to debug and rework