Checking screen constraints.
Added enemy class.