Created a function playCell