Added js functions for adding checkers

Handles changing players (indicated by checker image on left) and adding checkers to grid. When data structure is in place it will add the checker to the correct square (currently waiting on return of the row - which always returns 0) animation to be added after that.