Implemented life bar. Also removed the possibility of the life being
decreased multiple times when shot by only one bullet by allowing the
player to only take damage every 0.4 seconds