Solutions to ACM Programming Problems