changed method names

setEnd() to setDeadEnd()
getEnd() to getDeadEnd()