started coding triangle test