How to Install and Use PyTorch on Ubuntu: A Comprehensive Guide