JAVA LAB OOP. Turnstile system