Solutions to Miscellaneous Programming Problems