Single and Multi Threading Examples