Cutting up graphs revisited - a short proof of Stallings' structure theorem