Update chess.js

Added code to move all pieces as per the rules of chess. But have to add more rules.