Added click-listener to pieces. Currently shows piece type in console