Added memory and time monitoring program