Exercise 4a (version 1)

-random targetID generated