Changed some formatting, like using %zu instead of %zd because size_t is unsigned.