skeleton for Logic.java to get user text input