Text this: Exact solution of an Ising model with competing interactions on a Cayley tree