old project implementing xcows in python