Implement scheduled payments and cancel | Meta Interview Question