added square and comparer class