Basics of space flight