Added Comparator block

fixes #64