Department of Computer Science, Faculty of Science, Prince of Songkla University, Hatyai, Songkhla, Thailand 90112 Tel +66-7428-8578, Fax. +66-7444-6917