A Task Queue Class developed in Swift