CME Group Interview Question

How would you design an elevator system in Java? A question that tested my ability to use Hash Tables Write a function to find the square root of a number without using any arithmetic