Update TempatCD.java

remove some algorithm for simplicity ^^v