My second attempt at creating chess