added next prime solution
added solution for tile cost to cover WxH floor