created my first algo