Adding my solution for dinoDex exercise

Explicit non-nil checks are usually redundant.<br>Tab detected.<br>Trailing whitespace detected.