Finished pl_object_print function.