code taken out of document ready and countScore function declared
turn function removed from document ready
seperate functions for removing and unflipping cards