An implementation of Memory game