Adding my solution for dinoDex exercise

Trailing whitespace detected.