Solutions to 08-arrays exercise