A multithreaded Ruby program to simulate space travel, process and print the output, and verify the feasibility