Got maps working, add for..in and corrected input to match python3