added brute force solution for discount offers challenge; works for small Ns, but hangs when n increases