reading from a file completely implemented. Ending ladder works