Task 7-10 Created HitState type and test suite

HitState is an ephemeral state (i.e. timeout = 0) that reduces an
entities current health by a specified amount upon arrival. The
damage amount is a parameter in the constructor for easy configuration.