added enemy class

enemy class with it's functions, written some methods for calculation