added array, string, and log functionality, along with test for log