added Chess Framework

and JS chess logic from webdev