Various Codes/ Small Applications