Create ladderLength.cpp