added shuffling of submitted cards and changed index.html to accomodate a array being sent instead of object