replaced constants with getLine() ( returns 0 for now), added test file