added operate method on gridField.
added .DS_Store.
added createOperationMapping method.
refactor createOperationMapping method.
fixed styles according to jshint.
changed indentations.
changed indentation and fixed legacy code for compatibility.
changed spacing.
reimplemented SNS op.
changed carddeck's clear timing.
reimplemented SNN op.