A model of chess created with OOPS concepts