Added collision detection between obstacles and bullets. Added multithreading to update positions of bullets/stars/spaceships concurrently.