added find cost of tile to cover. And implemented it with classes, check program for notes