Common data structures and algorithms for game development