Implemented random placement of memory cards.