Frontend to some spoj problems for TGH lecture.