I think you can simplify it a bit more:
iptables -F
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -i lo -j ACCEPT #You really need this
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state NEW,ESTBLISHED,RELATED -j ACCEPT
Now there is a LOT that this firewall doesn't do. If your interested, check out
this thread where markus1982 shows his firewall and gets into some detail about it. Very good reading.