added method to convert 24 hour clock to 12 hour clock
added method to convert 24 hour clock to 12 hour clock