Merge pull request #4 from sbashani/master

add checkwin function
set ID to cell divs
add algo