Exercise 1: Simple Thread Creation
Objective: Create a simple thread using both the Thread class and the Runnable interface.
Task:
Create a thread that prints numbers from 1 to 10.
Implement this using the Thread class directly.
Then, implement the same task using the Runnable interface.