Answer to q16 on review sheet

Made this code to be obtuse and concise for fun